/* jshint indent: 1 */

module.exports = function(sequelize, DataTypes) {
	return sequelize.define('t_task', {
		id: {
			type: DataTypes.BIGINT,
			allowNull: false,
			primaryKey: true
		},
		request_id: {
			type: DataTypes.STRING(50),
			allowNull: true
		},
		agent_id: {
			type: DataTypes.BIGINT,
			allowNull: true
		},
		createtime: {
			type: DataTypes.DATE,
			allowNull: true
		}
	}, {
		tableName: 't_task',
		timestamps: false
	});
};
